package com.supermap.data.modal;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

/**
 * 报表信息（部门代码关联）
 * TUser entity. @sun'f
 */
@Entity
@Table(name = "T_FORM")
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class TForm {

    /**
     * 主键
     */
    private String id;
    /**
     *  部门代码
     */
    private String dep_code;
    /**
     *  报表名称
     */
    private String form_name;
    /**
     *  报表代码
     */
    private String form_code;
    /**
     *  所属行业代码
     */
    private String industry_code;
    /**
     *  报告期类型
     */
    private int report;


    public TForm() {
    }

    public TForm(String id, String dep_code, String form_name, String form_code, String industry_code, int report) {
        this.id = id;
        this.dep_code = dep_code;
        this.form_name = form_name;
        this.form_code = form_code;
        this.industry_code = industry_code;
        this.report = report;
    }

    @Id
    @GeneratedValue(generator = "uuid")
    @GenericGenerator(name = "uuid", strategy = "uuid")
    @Column(name = "id")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "DEP_CODE")
    public String getDep_code() {
        return dep_code;
    }

    public void setDep_code(String dep_code) {
        this.dep_code = dep_code;
    }

    @Column(name = "FROM_NAME")
    public String getForm_name() {
        return form_name;
    }

    public void setForm_name(String form_name) {
        this.form_name = form_name;
    }

    @Column(name = "FORM_CODE")
    public String getForm_code() {
        return form_code;
    }

    public void setForm_code(String form_code) {
        this.form_code = form_code;
    }

    @Column(name = "INDUSTRY_CODE")
    public String getIndustry_code() {
        return industry_code;
    }

    public void setIndustry_code(String industry_code) {
        this.industry_code = industry_code;
    }

    @Column(name = "REPORT")
    public int getReport() {
        return report;
    }

    public void setReport(int report) {
        this.report = report;
    }
}
